<template>
  <div>
    <div>
      <router-link class="tab" to="/sport/sportmain">体育主页</router-link>
      <router-link class="tab" to="/sport/chinasport">国内体育</router-link>
      <router-link class="tab" to="/sport/othersport">国外体育</router-link>
    </div>
    <p>切换页面</p>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {
  name: '',
  computed: {},
  watch: {},
  created() {},
  methods: {},
}
</script>

<style scoped>
   .tab {
      margin-right: 5px;
    } 
</style>